package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 身份证-所长对象 id_card_sh
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class IdCardSh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private Long populationId;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idnum;

    /** 状态 */
    @Excel(name = "状态")
    private String tpye;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 遗失时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "遗失时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lossTime;

    /** 有效期开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validStartTime;

    /** 有效期截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validEndTime;

    /** 派出所编号 */
    @Excel(name = "派出所编号")
    private Long pid;

    /** 操作员身份证号 */
    @Excel(name = "操作员身份证号")
    private Long operatorId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPopulationId(Long populationId) 
    {
        this.populationId = populationId;
    }

    public Long getPopulationId() 
    {
        return populationId;
    }
    public void setIdnum(String idnum) 
    {
        this.idnum = idnum;
    }

    public String getIdnum() 
    {
        return idnum;
    }
    public void setTpye(String tpye) 
    {
        this.tpye = tpye;
    }

    public String getTpye() 
    {
        return tpye;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setLossTime(Date lossTime) 
    {
        this.lossTime = lossTime;
    }

    public Date getLossTime() 
    {
        return lossTime;
    }
    public void setValidStartTime(Date validStartTime) 
    {
        this.validStartTime = validStartTime;
    }

    public Date getValidStartTime() 
    {
        return validStartTime;
    }
    public void setValidEndTime(Date validEndTime) 
    {
        this.validEndTime = validEndTime;
    }

    public Date getValidEndTime() 
    {
        return validEndTime;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("populationId", getPopulationId())
            .append("idnum", getIdnum())
            .append("tpye", getTpye())
            .append("auditStatus", getAuditStatus())
            .append("applyTime", getApplyTime())
            .append("lossTime", getLossTime())
            .append("validStartTime", getValidStartTime())
            .append("validEndTime", getValidEndTime())
            .append("pid", getPid())
            .append("operatorId", getOperatorId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
